package com.hellohoper.assembly.common.utils.base.model;


import lombok.Builder;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * Created by hk on 12/10/16.
 */
@Getter
@Setter
@Builder
public class BaseModel implements Serializable {

    private String errorMsg;

    private String errorCode;

    public BaseModel() {
    }

    public BaseModel(String errorMsg) {
        this.errorMsg = errorMsg;
    }

    public BaseModel(String errorMsg, String errorCode) {
        this.errorMsg = errorMsg;
        this.errorCode = errorCode;
    }

}
